﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Launch : SingletonBehaviour<Launch>
{
    public override void Awake()
    {
        DontDestroyOnLoad(this.transform);
    }
    private GameObject uiRoot;
    public GameObject UIRoot {
        get {
            if (uiRoot == null)
            {
                uiRoot = GameObject.FindGameObjectWithTag("UIRoot");
            }
            return uiRoot;
        }
        set {
            uiRoot = value;
        }
    }
}
